package com.base.app_core.base;


import com.base.app_core.model.Paginated;
import com.base.app_core.service.user.LoginCallback;

/**
 * Created by xiangheng.song on 2017/3/9.
 */

public interface BaseView extends LoginCallback {

    void setState(int state);

    //    void bindToLifecycle(Subscription subscription);
    <T> void notifyData(T object, Class tClass, Paginated paginated);

    void notifyError(String errorCode, String content);

    public static interface ReTryFetch {
        void reload();
    }
}
